package com.ljz.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * Created by jiazhang on 2017/4/12.
 */

@Entity
public class Customer {

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCphone() {
        return cphone;
    }

    public void setCphone(String cphone) {
        this.cphone = cphone;
    }

    public String getCadress() {
        return caddress;
    }

    public void setCadress(String cadress) {
        this.caddress = cadress;
    }

    @Id
    @GeneratedValue
    private Integer cid;
    private String cname;
    private String cphone;
    private String caddress;
    private String csex;

    public String getCsex() {
        return csex;
    }

    public void setCsex(String csex) {
        this.csex = csex;
    }
}
